import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SignlistComponent} from './signlist/signlist.component';
import {SignsettingComponent} from './signsetting/signsetting.component';
import {AddsettingComponent} from './addsetting/addsetting.component';

const routes: Routes = [
    {
        path: '',
        redirectTo: 'list',
        pathMatch: 'full'
    }, {
        path: 'list',
        component: SignlistComponent
    }, {
        path: 'setting',
        component: SignsettingComponent
    }, {
        path: 'addsetting',
        component: AddsettingComponent
    }, {
        path: 'addsetting/:id',
        component: AddsettingComponent
    }
];

@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class SignupRoutingModule {
}
